package cn.zwx.goods.svc.rpc.dto;

import lombok.Data;
import org.apache.dubbo.apidocs.annotations.RequestParam;

/**
 * @author zhangwenxue
 */
@Data
public class CategoryListDTO {

    /**
     * 分类名称
     */
    @RequestParam(value = "分类名称",description = "分类名称")
    private String name;


    /**
     * 上级ID
     */
    @RequestParam(value = "上级ID",description = "上级ID",defaultValue = "-1")
    private Integer parentId;

}
